<script setup lang="ts">
import { useProvider } from "../provider";

const { popHistoryRoute, routeHistory } = useProvider();
</script>

<template>
  <el-button
    v-if="routeHistory.length > 1"
    type="primary"
    text
    icon="ArrowLeftBold"
    @click="popHistoryRoute"
  />
</template>
<style lang="scss" scoped></style>
